package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.system.entity.AgreementEntity;

public interface AgreementService {
    IPage<AgreementEntity> getAgreementList(Page<AgreementEntity> page, String title, int type);

    int addAgreement(AgreementEntity entity);

    int updatestatus(int id, int status);

    AgreementEntity getAgreementEntitybyId(int id);

    int updateAgreement(AgreementEntity entity);

    //查询是否已经存在
    String getxieyicunzai(int type);

    AgreementEntity getcanzhaobycateId(String categoryId);
}
